<?php
//--------------------------------------------------
// Patch file:	patch_ucp_aucp_rank.php
// Patch time:	Tue, 29 Jan 2008 01:00 pm (GMT)
//--------------------------------------------------
if ( !defined('IN_PHPBB') )
{
	die('Hack attempt');
}

// header
$patch_version = '1.2.0';
$patch_date = '20080128';
$patch_author = 'impleri';
$patch_ref = 'AUCP Rank 1.2.0';

// panels and fields
$patch_data = array(
	'ucp' => array(
		'name' => 'User_control_panel',
		'options' => array(

			'editprofile' => array(
				'name' => 'Profile',
				'options' => array(

					'personal' => array(
						'name' => 'Personal',
						'file' => '/includes/ucp/ucp_aucp_rank',
						'fields' => array(
							'user_custom_rank' => array('type' => 'varchar_html', 'legend' => 'aucp_rank', 'explain' => 'aucp_rank_explain', 'field' => 'user_custom_rank', 'length_maxi' => '30', 'length_maxi_error' => 'aucp_rank_toolong'),
						),
					),
				),
			),

			'admin' => array(
				'name' => 'User_admin',
				'fields' => array(
					'user_custom_rank_status' => array('type' => 'radio_list', 'legend' => 'custom_rank_status', 'field' => 'user_custom_rank_status', 'options' => array(CUSTOM_RANK_REGDATE => 'aucp_rank_status_regdate', CUSTOM_RANK_DISABLED => 'aucp_rank_status_disabled', CUSTOM_RANK_ENABLED => 'aucp_rank_status_enabled')),
					'user_custom_rank' => array('type' => 'varchar_html', 'legend' => 'aucp_rank_admin', 'explain' => 'aucp_rank_admin_explain', 'field' => 'user_custom_rank', 'length_maxi' => '30', 'length_maxi_error' => 'aucp_rank_toolong'),
				),
			),
		),
	),
);

// auths definitions
$patch_auths = array();

?>